package com.cenxi.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.cenxi.common.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色表
 * @TableName cx_role
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="cx_role")
@Data
public class Role extends BaseModel {

    /**
     * 角色名称
     */
    @TableField(value = "role_name")
    private String roleName;

    /**
     * 角色状态1:启用, 0未启用
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 角色备注
     */
    @TableField(value = "remark")
    private String remark;

}
